package com.shiguiwu.springmybatis.spring.imports.demo;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @description: 将类注册中容器
 * @author: stone
 * @date: Created by 2021/9/29 17:28
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.spring.imports.demo
 */
public class MethodCostTimeImportSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata annotationMetadata) {
        return new String[] {MyBeanPostProcessor.class.getName()};
    }
}
